package com.site.wisdom_construction.entity.iotModule;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.sql.Date;

/**
 * @Description  
 * @Author  DYF
 * @Date 2022-03-10 
 */
@ApiModel (value ="人员定位表实体类",description = "PersonnelPositioning")
public class PersonnelPositioning {
	/**
	 * 人员定位表ID(山东瀚岳)
	 */
   	@ApiModelProperty(value = "人员定位表ID(山东瀚岳)", name = "id")
	private Integer id;

	/**
	 * 项目id
	 */
   	@ApiModelProperty(value = "项目id", name = "projectId")
	private Integer projectId;

	/**
	 * 设备id
	 */
   	@ApiModelProperty(value = "设备id", name = "equipmentId")
	private String equipmentId;

	/**
	 * 标签id
	 */
   	@ApiModelProperty(value = "标签id", name = "tagId")
	private String tagId;

	/**
	 * 修改时间
	 */
   	@ApiModelProperty(value = "修改时间", name = "updateTime")
	@JsonFormat(timezone = "GMT+8", pattern ="yyyy-MM-dd")
	private Date updateTime;

	@ApiModelProperty(value = "安全帽编号" , name = "capId")
	private String capId;

	@ApiModelProperty(value = "姓名" , name = "staffName")
	private String staffName;

	@ApiModelProperty(value = "分包单位" , name = "subcontractName")
	private String subcontractName;

	@ApiModelProperty(value = "工种" , name = "worktypeName")
	private String worktypeName;

	@ApiModelProperty(value = "班组" , name = "teamName")
	private String teamName;

	public PersonnelPositioning(){ super(); }

	public PersonnelPositioning(Integer id, Integer projectId, String equipmentId, String tagId, Date updateTime, String capId, String staffName, String subcontractName, String worktypeName, String teamName) {
		this.id = id;
		this.projectId = projectId;
		this.equipmentId = equipmentId;
		this.tagId = tagId;
		this.updateTime = updateTime;
		this.capId = capId;
		this.staffName = staffName;
		this.subcontractName = subcontractName;
		this.worktypeName = worktypeName;
		this.teamName = teamName;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getProjectId() {
		return projectId;
	}

	public void setProjectId(Integer projectId) {
		this.projectId = projectId;
	}

	public String getEquipmentId() {
		return equipmentId;
	}

	public void setEquipmentId(String equipmentId) {
		this.equipmentId = equipmentId;
	}

	public String getTagId() {
		return tagId;
	}

	public void setTagId(String tagId) {
		this.tagId = tagId;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getCapId() {
		return capId;
	}

	public void setCapId(String capId) {
		this.capId = capId;
	}

	public String getStaffName() {
		return staffName;
	}

	public void setStaffName(String staffName) {
		this.staffName = staffName;
	}

	public String getSubcontractName() {
		return subcontractName;
	}

	public void setSubcontractName(String subcontractName) {
		this.subcontractName = subcontractName;
	}

	public String getWorktypeName() {
		return worktypeName;
	}

	public void setWorktypeName(String worktypeName) {
		this.worktypeName = worktypeName;
	}

	public String getTeamName() {
		return teamName;
	}

	public void setTeamName(String teamName) {
		this.teamName = teamName;
	}

	@Override
	public String toString() {
		return "{" +
				"id=" + id +
				", projectId=" + projectId +
				", equipmentId='" + equipmentId + '\'' +
				", tagId='" + tagId + '\'' +
				", updateTime=" + updateTime +
				", capId='" + capId + '\'' +
				", staffName='" + staffName + '\'' +
				", subcontractName='" + subcontractName + '\'' +
				", worktypeName='" + worktypeName + '\'' +
				", teamName='" + teamName + '\'' +
				'}';
	}
}
